package my.headfirstjava.templatemethod.barista;


/**
 * @author: xiaoli
 * @date: 2019/4/9 19:23
 * @Desc:
 **/
public class TestMain {


    public static void main(String[] args) {
        TeaWithHook tea = new TeaWithHook();
        System.out.println("开始泡茶。。。。");
        tea.prepareRecipe();



        CoffeeWithHook coffeeWithHook = new CoffeeWithHook();
        System.out.println("开始泡咖啡。。。。");
        coffeeWithHook.prepareRecipe();



    }





}
